package com.shambles.manage2.service.impl;


import com.shambles.manage2.service.StaffService;
import com.shambles.manage2.tkmapper.entity.SubscribeInformation;
import com.shambles.manage2.tkmapper.mapper.SubscribeInformationMapper;
import com.shambles.manage2.utils.TimeUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import tk.mybatis.mapper.weekend.Weekend;

import java.util.List;

@Service
public class StaffServiceImpl implements StaffService {
    @Autowired
    private SubscribeInformationMapper subscribeInformationMapper;
    @Override
    public void newStaff(String empId, String userId) {

    }

    @Override
    public List<SubscribeInformation> staffList(SubscribeInformation subscribeInformation) {

        return subscribeInformationMapper.staffList(subscribeInformation.getCurrentTimeNow());
    }
}
